<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022/8/23
  Time: 16:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员登录</title>
    <script>
        if(self!=parent){
            parent.location=self.location;
        }
    </script>
</head>
<body>
<p style="color: red">${msg}</p>
  <form action="doLogin.jsp" method="post">
      <fieldset>
          <legend>管理员登录</legend>
          <p>
              <input type="text" name="login" required placeholder="请输入登录名或者邮箱"/>
              <input type="password" name="pass" required placeholder="请输入密码"/>
          </p>
          <p>
              <button>登录</button>
              <button type="reset">重来</button>
          </p>
      </fieldset>
  </form>
</body>
</html>
